classdef DevMyClass < DevSuperClass
    properties
        x
        y = 10
    end

    methods(Static)
        function res = s_func(input)
            res = input;
        end
    end

    methods
        function obj = DevMyClass(x)
            '调用构造器'
            obj
            obj.x = x;
        end

        function y = my_test(obj, z)
            '调用 my_test 方法'
            y = obj.x + z;
        end

        function y = my_test2(obj, z)
            '调用 my_test2 方法'
            y = 10;
        end

        function y = my_test3(obj)
            '调用 my_test3 方法'
            y = 111333;
        end
    end
end